<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Banner extends Model
{
    //輪播
    protected $table = 'banner';

    public function getBannerImgAttribute($value){
        return getDomain().'/'.$value;
    }
}
